package com.cuijian.demo.controller;

import com.jfinal.core.Controller;
import com.jfinal.core.Path;

@Path("/debug")
public class DebugController extends Controller {

    public void index() {
        renderJson("message", "Debug controller is working!");
    }

    public void routes() {
        // 这里可以输出所有注册的路由信息
        renderJson("status", "Routes debug endpoint");
    }
}